﻿using System;
using System.Collections.Generic;
using System.Text;
using Dazaza.Framework.Utility;

namespace Dazaza.Framework.Configuration
{
    public class ConfigurationManagerBase
    {
        protected static T LoadConfiguration<T>(string key, string configFile, bool needLog)  where T : class
        {
            T config;

            config = ObjectXmlSerializer.LoadFromXml<T>(configFile, needLog);
  

            return config;
        }
    }
}
